<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%
	String username=null;
	String cookiename=(String) application.getAttribute("cookiename");
	String homelink=(String) application.getAttribute("homelink");
	Cookie[] c=request.getCookies();
	if(c!=null){
		int len=c.length;
		for(int i=0;i<len;++i){
			if(c[i].getName().equals(cookiename+"-admin")==true){
				username=c[i].getValue();
			}
		}
	}
%>
<title>Insert title here</title>
</head>
<body>
<jsp:include page="../common/header.jsp"></jsp:include>
管理后台&nbsp;&nbsp;
相关链接：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="./index.jsp">管理后台</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../student/index.jsp">考生首页</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../teacher/index.jsp">教师首页</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="./logout.jsp">退出系统</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
当前用户：<%=username %>
</body>
</html>